Skip to content

fix: resolve right panel collapse and add forgot password flow (closes #652)#706

Open
singhanurag0317-bit wants to merge 1 commit into
Charushi06:mainfrom
singhanurag0317-bit:fix/ui-and-forgot-password-652
Open

fix: resolve right panel collapse and add forgot password flow (closes #652)#706
singhanurag0317-bit wants to merge 1 commit into
Charushi06:mainfrom
singhanurag0317-bit:fix/ui-and-forgot-password-652

Conversation

@singhanurag0317-bit
Copy link
Copy Markdown

Summary

Resolves #652

This PR addresses the UI issues and the missing functionality reported in the issue:

  1. Right Panel Collapse Bug: The right sidebar wasn't collapsing properly because .app grid columns had a hardcoded 340px instead of using the --panel-width variable when not in compact view. This has been updated to use the variable properly.
  2. Forgot Password: The auth modal has been enhanced with a "Forgot Password?" flow. It provides a UI to enter an email for password recovery and wires up to a newly created /api/auth/forgot-password endpoint.

Changes

  • css/index.css: Fixed the grid-template-columns definition inside .app to use var(--panel-width, 340px).
  • index.html: Added "Forgot Password?" link and javascript logic inside the auth script block to switch between Login and Reset Password views seamlessly.
  • server.js: Created a simple /api/auth/forgot-password route to handle the reset request.

Verification

  • Panel successfully collapses into a thin strip and restores its size on toggle.
  • "Forgot password?" seamlessly switches the modal view and calls the backend route successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

problem: error in ui part and one feature addition

1 participant